#!/bin/bash
ScriptPath="$( cd "$(dirname "$BASH_SOURCE")" ; pwd -P )"

echo "[INFO] The sample starts to run"
#running_command="./main /home/HwHiAiUser/workspace/managersystem/config/interaction.json"
# running_command="./main /home/HwHiAiUser/post/MultiStreamInferV2/scripts/test.json"
running_command="./Main"
cd ${ScriptPath}/../out/build/release/bin
${running_command}
if [ $? -ne 0 ];then
    echo "[INFO] The program runs failed"
else
    echo "[INFO] The program runs successfully"
fi
